<div class="pageContent">

	<form method="post"
		action="__URL__/update/navTabId/__MODULE__/callbackType/closeCurrent"
		class="pageForm required-validate"
		onsubmit="return validateCallback(this, dialogAjaxDone)">
		<!-- 
		<input type="hidden" name="shipper" id="shipper">
		<input type="hidden" name="provider" id="provider">
		 -->
		  <input type="hidden" name="id" value="{$vo.id}"> 
		  <input type="hidden" name="ajax" value="1">
		  <input type="hidden" name="product" value="{$vo.product}">
		<div class="pageFormContent" layoutH="58">
			<table class="table" width="100%" >
				<tr height="30px;">
					<td width="50"><b>发货方</b></td>
					<td>{$vo.shipper}</td>
					<!--  
					<td width="50"><b>客户</b></td>
					<td><volist name="customer" id="vosss"> <eq
							name="vosss['id']" value="$vo.customer">{$vosss['customername']}</eq>
						</volist>
						<eq name="vo['payondelivery']" value="1" ><spen style="color:red">本次调度为款到卸车</spen></eq>
					</td>
					-->
					<td width="50"><b>供应商</b></td>
					<td><volist name="provider" id="voss"> <eq
							name="voss['id']" value="$vo.provider">{$voss['providername']}</eq>
						</volist></td>
				</tr>
				<tr>
				<td width="50"><b>承运方</b></td>
					<td><volist name="carr" id="vos"> <eq
							name="vos['id']" value="$vo.carrier">{$vos['carriername']}</eq> </volist>
					</td>
				<td width="50"><b>产品名称</b></td>
					<td>{$vo.product}</td>
				</tr>
			</table>
			<p class="unit">
					<label style="margin-right: -10px;">客户：</label> 
					<select name="customer"  id="customer" class="combox">
						<option value="" >请选择(必填)</option>
						<option value="-1s1">东明库</option>
						<option value="-2s2">南曹库</option>
						<option value="-3s3">金海库</option>
						<volist name="customer" id="vos">
						<option value="{$vos.id}s{$vos.secondid}" <eq name="vos.secondid" value="$vo.customer"> selected </eq>>{$vos.secondname}
						<eq name="vos.iscommon" value="0">-正常审批</eq>
				        <eq name="vos.iscommon" value="1">-款到卸车</eq>
				        <eq name="vos.iscommon" value="2">-特殊审批</eq>
						</option>
						</volist>
					</select>
				</p>
			<p class="unit">
			   <label style="margin-right: -10px;">起运地：</label> 
			   <select name="start"  id="start" class="combox">
					<option value="">请选择(必填)</option>
					<volist name="freight" id="vos">
					<option value="{$vos.startaddress}" <eq name="vos.startaddress" value="$vo.start" >selected</eq>>{$vos.startaddress}</option>
					</volist>
				</select>
		    </p>
			<p class="unit">
				<label  style="margin-right: -10px;">目的地：</label> 
				<select name="destination"  id="destination" class="combox">
					<option value="">请选择(必填)</option>
					<volist name="end" id="Freight">
					<option value="{$Freight.endaddress}" <eq name="Freight.endaddress" value="$vo.destination" >selected</eq>>{$Freight.endaddress}</option>
					</volist>
				</select>
			</p>
			<p class="unit">
				<label style="margin-right: -10px;">接车人：</label> 
				<select name="userid" class="combox">
					<option value="">请选择(必填)</option>
					<volist name="user" id="User">
					<option value="{$User.fullname}" <eq name="User.fullname" value="$vo.userid" >selected</eq>>{$User.fullname}</option>
					</volist>
				</select>
			</p>
			<p class="unit">
				<label>车牌号：</label> <input type="text" name="carno"
					value="{$vo.carno}">
			</p>
			<p class="unit">
				<label style="margin-right: -10px;">车辆状态：</label> <select name="carstat" class="required combox">
					<eq name="vo.carstat" value="0">
					<option value="0" selected>请选择（必填）</option>
					<else />
					<option value="0">请选择</option>
					</eq>
					<eq name="vo.carstat" value="2">
					<option value="2" selected>待发货</option>
					<else />
					<option value="2">待发货</option>
					</eq>
					<eq name="vo.carstat" value="3">
					<option value="3" selected>已发货</option>
					<else />
					<option value="3">已发货</option>
					</eq>
				</select>
			</p>
			
			<p class="unit">
				<label>毛重：</label> <input type="text" name="eweight"
					 value="{$vo.eweight}">
			</p>
			<p class="unit">
				<label>皮重：</label> <input type="text" name="sweight"
					 value="{$vo.sweight}">
			</p>
		<eq name ="userkey" value="1">
		  
			<p class="unit">
				<label>盈亏：</label> <input type="text" name="loss"
					 value="{$vo.loss}">
			</p>
      </eq>
      <div class="unit">
				<label>备注：</label>
				<TEXTAREA name="note" style="width: 357px;" rows="3" cols="56">{$vo.note}</textarea>
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">保存</button>
						</div>
					</div></li>
				<li><div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div></li>
			</ul>
		</div>
	</form>

</div>

